x86: identify reset_stack_and_jump() as noreturn
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Mar 2014 10:19:20 +0000 (11:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Mar 2014 10:19:20 +0000 (11:19 +0100)
commitceff76a5be3caaca028ea8a6cbce5744eaf2b2db
treec26a0e3fd3c5f422af45100b98b004788e111d85
parentf600b324bc5235a179eb6c6f57e564667b8fb8de
x86: identify reset_stack_and_jump() as noreturn

reset_stack_and_jump() is actually a macro, but can effectivly become noreturn
by giving it an unreachable() declaration.

Propagate the 'noreturn-ness' up through the direct and indirect callers.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/domain.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/setup.c
xen/include/asm-x86/current.h
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/vmx/vmx.h